package com.yidu.hbats.service.attachment;

import com.yidu.hbats.dao.AtsAttachmentEmpMapper;

import com.yidu.hbats.dao.AtsSchemeAuditMapper;
import com.yidu.hbats.model.AtsAttachmentEmp;
import com.yidu.hbats.model.AtsSchemeAudit;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class AtsAttachmentEmpServiceImpl implements AtsAttachmentEmpService{
   @Resource
    AtsAttachmentEmpMapper atsAttachmentEmpMapper;
   @Resource
    AtsSchemeAuditMapper atsSchemeAuditMapper;
    @Override
    public int deleteByPrimaryKey(Integer aeId) {
        return atsAttachmentEmpMapper.deleteByPrimaryKey(aeId);
    }

    @Override
    public int deleteBySchemeId(Integer schemeId) {
        return atsAttachmentEmpMapper.deleteBySchemeId(schemeId);
    }

    @Override
    public int insert(AtsAttachmentEmp record) {
        return atsAttachmentEmpMapper.insert(record);
    }

    @Override
    public int insertSelective(AtsAttachmentEmp record) {
        return atsAttachmentEmpMapper.insertSelective(record);
    }

    @Override
    public AtsAttachmentEmp selectByPrimaryKey(Integer aeId) {
        return atsAttachmentEmpMapper.selectByPrimaryKey(aeId);
    }

    @Override
    public List<AtsAttachmentEmp> selectByAttachID(Integer aeId) {
        return atsAttachmentEmpMapper.selectByAttachID(aeId);
    }

    @Override
    public int updateByPrimaryKeySelective(AtsAttachmentEmp record) {
        return atsAttachmentEmpMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(AtsAttachmentEmp record) {
        return atsAttachmentEmpMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<AtsSchemeAudit> selBySaid(Integer saId) {
        return atsSchemeAuditMapper.selBySaid(saId);
    }
}
